package com.jjw.springbootcvs.service;


import com.github.pagehelper.PageInfo;
import com.jjw.springbootcvs.pojo.dto.SupplierDTO;
import com.jjw.springbootcvs.pojo.entity.Supplier;

import java.util.List;

/**
 * @author xiaojuan
 * @Date 2024/11/2
 * @Description
 */
public interface SupplierService {
    List<Supplier> getSupplierList();

    PageInfo<Supplier> getAllSupplierListPage(SupplierDTO supplierDTO);

    void add(Supplier supplier);

    Supplier getSupplierById(Long id);

    void update(Supplier supplier);

    void delete(Long id);
}
